$color : #fafafa;

.offline{
    line-height: 88px;
    text-align: center;
    font-size: 32px;
    color: #fff;
    background-color: $color-danger;
}

.page{
    height: 100vh;
    padding-top: 20px;
    background-color: $page-background-color;
}

._wrap{
    height: 100%;
    display: flex;
    flex-direction: column;
}

.module{
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 2px 2px 12px 4px #f0f0f0;
    
    .moduleTitle{
        color: #000;
        font-size: 32px;
        font-weight: bold;
    }

    .body{
        margin-top: 30px;
    }

    .portContainer{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;

        .port{
            height: 88px;
            border: 2px solid $color-primary;
            border-radius: 10px;
            color: $color-primary;
            font-size: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;

            &.selected{
                background-color: $color-primary;
                color: #fff;
            }

            &.disabled{
                color: #999;
                border-color: #cfcfcf;
                background-color: #eeeeee;
            }
        }
    }
}

.current-pricing{
        

    .top{
        padding: 0 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 28px;
        .nav{
            color: $color-primary;
            display: flex;
            align-items: center;
            gap: 6px;
            &::after{
                content: '';
                display: block;
                width: 10px;
                height: 10px;
                border: 3px solid transparent;
                border-top-color: $color-primary;
                border-right-color: $color-primary;
                transform: rotate(45deg);
            }
        }
    }

    .detail{
        display: flex;
        border-top: 2px solid $color;
        .item{
            flex: 1;
            text-align: center;
            padding-top: 20px;
        }
    }
    
}

.amount{
    font-size: 32px;
    color: $color-highlight;
}

.bottomAction{
    background-color: #f5f5f5;
}

.pay-type{
    display: flex;
    gap: 15px;

    .item{
        flex: 1;
        height: 88px;
        border-radius: 10px;
        border: 2px solid #f5f5f5;
        display: flex;
        justify-content: center;
        align-items: center;
        &.selected{
            background-color: $color-primary;
            color: #fff;
            border: none;
        }
    }
}

.number-input{
    display: flex;
    align-items: center;
}
.inputNumber{
    font-size: 32px;
}


.payTypeItems{
    .item{
        line-height: 120px;
        text-align: center;
        font-weight: bold;
        font-size: 32px;
        border: 1px solid $border-color;
        color: $primary-color;
        &.cancel{
            color: #333;
        }
    }
}